<template>
  <div>
    <h1>非法访问，无法进入该页面</h1>
    <button @click="goBack">返回</button>
  </div>
</template>

<script>
import { useRouter } from "vue-router";

export default {
  setup() {
    const router = useRouter();

    const goBack = () => {
      router.push("/");
    };

    return {
      goBack
    };
  }
};
</script>

